<style type="text/css">
	.layui-tab{
		margin-left: 215px;
	}
</style>
<div class="layui-container fly-marginTop fly-user-main">
    
    {include file='common/menu'/}
	
	<div class="layui-tab layui-tab-brief" lay-filter="user">
	      <ul class="layui-tab-title" id="LAY_mine">
	        <li data-type="mine-jie" class="layui-this">
				<a href="{:url('home/User/post')}">全部</a>
	      </ul>
	      <div class="layui-tab-content" style="padding: 20px 0;">
	        <div class="layui-tab-item layui-show">
	          <ul class="mine-view jie-row">
				{foreach $PostList as $item}
				<li>
					{if condition="$item.state == 1"}
						<span class="fly-jing">置顶</span>
					{elseif condition="$item.state == 2"}
						<span class="fly-jing">精华</span>
					{elseif condition="$item.state == 3"}
						<span class="fly-jing">热门</span>
					{elseif condition="$item.state == 0"}
						<span class="fly-jing">普通</span>
					{/if}
						<span class="fly-jing"></span>
						<a href="{:url('home/index/info',['postid'=>$item.id])}" class="jie-title"> {$item.title}</a>
						<i>{$item.createtime}</i>
						<em class="layui-hide-xs">
						 {$item.visit_count}
						阅/{$item.comment_count}答</em>
				</li>
				{/foreach}
	          </ul>
	          <div id="LAY_page"></div>
	        </div>
	        <div class="layui-tab-item">
	          <ul class="mine-view jie-row">
	            <li>
	              <a class="jie-title" href="../jie/detail.html" target="_blank">基于 layui 的极简社区页面模版</a>
	              <i>收藏于23小时前</i>  </li>
	          </ul>
	          <div id="LAY_page1"></div>
	        </div>
	      </div>
	    </div>
</div>